/// 创建人： Created by zhaolong
/// 创建时间：Created by  on 2020/7/23.
///
/// 创建人： Created by zhaolong
/// 创建时间：Created by  on 2020/9/25.
///
/// gongzhonghao biglead
/// https://study.163.com/instructor/1021406098.htm
/// https://blog.csdn.net/zl18603543572
/// https://www.toutiao.com/c/user/token/MS4wLjABAAAAYMrKikomuQJ4d-cPaeBqtAK2cQY697Pv9xIyyDhtwIM/

class BannerBean {
  /*
  "id": 2271,
		"title": "推进党的建设新的伟大工程要一以贯之",
		"category": "PARTY_NEWS",
		"bannerImgUrl": "http://jbsc-1.oss-cn-beijing.aliyuncs.com/5411f027-58b2-4e47-8242-54b82e4e2a56.png",
		"shareUrl": "http://api.jinbangshichuang.com/learncoal/h5/news/details/2271.html",
		"readCount": 0,
		"detailUrl": "http://api.jinbangshichuang.com/learncoal/h5/news/V2/details/2271.html",
		"bannerMine": "",
		"parise": false,
		"push": false
   */
  int id;
  String title;
  String category;

  String bannerImgUrl;
  String shareUrl;

  String detailUrl;

  int readCount;
  bool push;
  bool parise;

  /// 1 资讯 ，2 视频， 3 培训 , 4 考试
  int bannerType;

  String createTime;
  int id2;

  BannerBean.fromJson(Map<String, dynamic> map) {
    this.id = map["id"];
    this.title = map["title"];
    this.category = map["category"];
    this.bannerType = map["bannerType"];
    this.bannerImgUrl = map["bannerImgUrl"];
    this.detailUrl = map["detailUrl"];
    this.shareUrl = map["shareUrl"];

    this.bannerImgUrl = map["bannerImgUrl"];
    this.readCount = map["readCount"];
    this.parise = map["parise"];

    this.createTime = map["createTime"];
    this.id2 = map["id2"];
  }
}
